You are here: Case management > Building a form > Adding a data reference to a form

Adding a data reference to a form

Add a data reference to a form to prompt users with a list of data records. By using data references, you integrate data with cases in your application.

For example, you can reference the Vehicle data type on an accident claim form to display a list of car models.

To add a data reference:

  1. In the explorer panel of Designer Studio, click Cases and then click the name of a case type.

  2. On the Life cycle tab, click an assignment or approval step.

  3. Click Configure view.

  4. Click + Add field.

    In the autocomplete field that is displayed, enter a unique label.

    Do not use px, py, or pz prefixes in a label because they are reserved.

  5. From the first list, select Data reference.

  6. From the second list, select a display mode that is supported by your field type.

  7. From the third list, select the name of a data type.

  8. Optional: Add read-only fields to the form that are displayed when a user selects a data record.

  9. Optional: Drag a field to change its position on the form.

  10. Click Submit.

After you add a data reference to a form, you can reuse the field because it is part of the data model for your case type. At run time, the data reference is displayed as an autocomplete field that is populated with a list of data records. Users can search for a data record by entering text in the field.